package com.teacher.pojo.vo.certificate;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class CertificateGetVo {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long classId;

    @ApiModelProperty(value = "学期ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long termId;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long departmentId;

    private String departmentStr;

    private String classStr;

    @ApiModelProperty(value = "学生姓名")
    private String name;

    @ApiModelProperty(value = "学生学号")
    private String studentKey;

    @ApiModelProperty(value = "流程id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long flowId;

    @ApiModelProperty(value = "是否永久加分")
    private Boolean isForever;

    @ApiModelProperty(value = "证书名称")
    private String title;

    @ApiModelProperty(value = "申报分数")
    private BigDecimal applyFraction;

    @ApiModelProperty(value = "永久加分证书类型 10-> 英语等级证书 20->普通话证书 30->计算机证书 40->教师资格证书")
    private Integer type;

    @ApiModelProperty(value = "证书获得时间")
    private Date getTime;

    @ApiModelProperty(value = "永久加分证书等级")
    private Integer level;

    private String typeName;

    private String levelName;
}
